<!DOCTYPE html>
<html>
  <head>
    <title>map.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <script type="text/javascript" src="../javascript/lib/jquery-1.9.1/jquery-1.9.1.min.js"></script>
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
    
    <!-- 将当前元素集中的每个元素传递给一个函数处理，产生新的jquery对象 -->
	<script type="text/javascript">
		$(function(){
			var numarray = [32 , 1024 , 456 , 99];
			var newarray = $.map(numarray , function(value , index){
				return Math.sqrt(value).toFixed(4);
			});
			alert(newarray);
		});
	</script>
  </head>
  
  <body>
    This is my HTML page. <br>
  </body>
</html>
